package com.huawei.esdk.uc.device.bmu.bean;

import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {})
@XmlRootElement(name = "body")
public class QueryAccountResponse
{
    @XmlElement(name = "amount")
    private int amount;
    
    @XmlElementWrapper(name = "beans")
    @XmlElement(name = "bean")
    private List<Account> accounts;
    
    public int getAmount()
    {
        return amount;
    }
    
    public void setAmount(int amount)
    {
        this.amount = amount;
    }
    
    public List<Account> getAccounts()
    {
        return accounts;
    }
    
    public void setAccounts(List<Account> accounts)
    {
        this.accounts = accounts;
    }
    
}
